/**
 * Copyright (c) 2002-2012 旭鸣信息
 * All rights reserved. 
 * File：WebCounterSingleton.java
 * History: Nov 15, 2013: Initially created, liuzhi.
 */
package com.xteam.ecsystem.utils;

/**
 * 网站统计器单例
 * @author liuzhi
 *
 */
public class WebCounterSingleton {

	private static WebCounterSingleton instance = null;
	
	public static synchronized WebCounterSingleton getInstance(){
		if (instance == null) instance = new WebCounterSingleton();
		return instance;
	}
	
	/**
	 * 来访页面
	 */
	private String fromPage;

	/**
	 * @return 属性fromPage的值.
	 */
	public String getFromPage() {
		return this.fromPage;
	}

	/**
	 * @param fromPage 属性fromPage.
	 */
	public void setFromPage(String fromPage) {
		this.fromPage = fromPage;
	}
	
}
